using System;
using System.Data;
using DataAccess;


namespace Service
{

	public class ServiceBase
	{
      
	    private BaseDataAccess mgr;
        public ServiceBase()
		{
            mgr  = new BaseDataAccess();
		}
       
        ////protected virtual void VerifyIsLoggedIn()
        ////{
        ////}
		
        ////protected virtual void CheckObjectBeforeSave(BaseModel item)
        ////{
        ////    if (item != null)
        ////    {
        ////        if (item.Key == 0)
        ////        {
                     
        ////        }

                

               

                
        ////    }
        ////}

        ////public virtual string CurrentUserName
        ////{
        ////    get
        ////    {
        ////        // MembershipUser user = Membership.GetUser();
        ////        MembershipUser user = null;

        ////        if (user == null)
        ////        {
        ////            return "unknown user";
        ////        }
        ////        else
        ////        {
        ////            return user.UserName;
        ////        }
        ////    }
        ////}

        ////public virtual int CurrentUserId
        ////{
        ////    get { return m_currentUserId; }
        ////    set { m_currentUserId = value; }
        ////}
	

	}
}
